<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>个人中心</title>
    <link rel="stylesheet" href="/static/common/css/reset.css">
    <link rel="stylesheet" href="/static/common/css/swiper_2.7.css">
    <link rel="stylesheet" href="/static/common/css/footer.css">
    <link rel="stylesheet" href="/static/css/user/page_user-study1.css">
    <link rel="stylesheet" href="/static/common/css/common.css">
    <link rel="stylesheet" href="../static/common/css/swiper_3.3min.css">
</head>

<body>
    <!-- 头部部分 -->
    <div class="user-header">
        <div class="user-header-content">
            <div class="user-logo">
                <img src="../static/images/header/logo.png" alt="">
            </div>
            <div class="go-index">
                <a href="index.html">返回首页</a>
            </div>
        </div>
    </div>
    <!-- 内容区域 -->
    <div class="user-main">
        <div class="main-content">
            <div class="main-left">
                <!-- 左侧人物公用部分 -->
                <div class="right-rw">
                    <div class="rw-img">
                        <img id="pic" class="userinfo" src="../static/images/details_img/rw_img1.png" alt="">
                        <img class="userinfo-icon" src="../static/images/user_setup/xj_img.png" alt="">
                        <input id="uploads" name="file" accept="image/*" type="file" style="display: none">
                    </div>
                    <h2>Bill Gates</h2>
                    <p class="cj-p">初级学员</p>
                    <ul class="gz-list">
                        <li> <span>325</span> 关注</li>
                        <li> <span>35</span> 好友</li>
                        <li> <span>25</span> 动态</li>
                    </ul>
                    <p class="qd">签到</p>
                </div>

                <ul class="dh-list">
                    <li> <a href="page_user-homepage.html">我的主页</a></li>
                    <li> <a href="page_user-setup.html"> 账户设置</a></li>
                    <li> <a href="list_user-shopping.html"> 积分商城 </a></li>
                    <li> <a class="dh-acitve" href="page_user-study1.html">学习中心 </a></li>
                    <li> <a  href="page_user-feedback.html"> 回访反馈 </a></li>
                </ul>
            </div>
            <div class="main-right">
                <div class="right-user-box">
                    <h1>学习中心</h1>

                </div>
                <!-- 右侧的内容 -->
                <div class="box-txt">
                    <ul class="tabs-study">
                        <li class="active-study">
                            <a href="page_user-study1.html">已学课程</a>
                        </li>
                        <li>
                            <a href="page_user-study2.html">学习笔记</a>
                        </li>
                        <li>
                            <a href="page_user-study3.html">我的毕业证</a>
                        </li>
                    </ul>
                    <!-- 下面的内容部分 -->

                    <div class="swipers-rl">
                        <div class="date-wrapper clear">
                            <div class="date-pick fl">
                                <h2>日期</h2>
                                <p id="date-select" class="">
                                    <span>2019年</span>
                                    <input type="hidden" value="2016年">
                                </p>
                                <ul id="date-wrapper">
                                    <li class="">2015年</li>
                                    <li class="">2016年</li>
                                    <li class="">2017年</li>
                                    <li>2018年</li>
                                    <li class="current" class="">2019年</li>
                                </ul>
                            </div>
                            <div class="swiper-button-group fr">
                                <div class="swiper-button-prev"></div>
                                <div class="swiper-button-next swiper-button-disabled"></div>
                            </div>
                        </div>
                        <!-- <div class="swiper-tops">
                            <div class="nums-box">
                                <div class="box-rls-num">
                                    <p class="add"><span class="yearNum">2019</span>年</p>
                                    <p class=""><span class="month1Num">9</span>-<span  class="month2Num">12</span>月</p>
                                </div>
                                <div class="swiper-button-prev rl_left">
                                    <img src="../static/images/user_studys/rl_left_btn.png" alt="">
                                </div>
                                <div class="swiper-button-next rl_right">
                                    <img src="../static/images/user_studys/rl_right_btn.png" alt="">
                                </div>
                            </div>
                        </div> -->
                        <div id="course" class="swiper-container swiper-box">
                            <div class="swiper-wrapper">
                                <div class="swiper-slide box-slide">
                                    <div class="mouth">
                                        <h2>12月</h2>
                                        <span>DEC</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul class="rl-content-list">
                                            <li class="list-red">
                                                <p class="red-p1">1月10日</p>
                                                <p class="red-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-red">
                                                    <p><img src="../static/images/user_studys/icon_red1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_red2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>

                                            <li class="list-yellow">
                                                <p class="yellow-p1">1月10日</p>
                                                <p class="yellow-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-yellow">
                                                    <p><img src="../static/images/user_studys/icon_yellow1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_yellow2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>


                                            <li class="list-blue">
                                                <p class="blue-p1">1月10日</p>
                                                <p class="blue-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-yellow">
                                                    <p><img src="../static/images/user_studys/icon_blue1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_blue2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>11月</h2>
                                        <span>NOV</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="list-blue">
                                                <p class="blue-p1">1月10日</p>
                                                <p class="blue-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-yellow">
                                                    <p><img src="../static/images/user_studys/icon_blue1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_blue2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>10月</h2>
                                        <span>OCT</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>9月</h2>
                                        <span>SEP</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="list-red">
                                                <p class="red-p1">1月10日</p>
                                                <p class="red-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-red">
                                                    <p><img src="../static/images/user_studys/icon_red1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_red2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>

                                            <li class="list-yellow">
                                                <p class="yellow-p1">1月10日</p>
                                                <p class="yellow-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-yellow">
                                                    <p><img src="../static/images/user_studys/icon_yellow1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_yellow2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>


                                            <li class="list-blue">
                                                <p class="blue-p1">1月10日</p>
                                                <p class="blue-p2">风险教育第一集：理性认识市场风险</p>
                                                <div class="box-yellow">
                                                    <p><img src="../static/images/user_studys/icon_blue1.png"
                                                        alt=""><span>150</span> </p>
                                                <p><img src="../static/images/user_studys/icon_blue2.png"
                                                        alt=""><span>1</span></p>
                                                </div>
                                                
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>8月</h2>
                                        <span>AUG</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>7月</h2>
                                        <span>JUL</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>6月</h2>
                                        <span>JUE</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>5月</h2>
                                        <span>MAY</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>4月</h2>
                                        <span>APR</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>3月</h2>
                                        <span>MAR</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>2月</h2>
                                        <span>FEB</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="swiper-slide">
                                    <div class="mouth">
                                        <h2>1月</h2>
                                        <span>JAN</span>
                                    </div>
                                    <div class="note-wrapper">
                                        <ul>

                                            <li class="empty">快点来学习吧...</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>

        </div>


    </div>

    <!--放一个id为footer的div,把footer.html加载到这块-->
    <footer>
        <div class="footers">
            <div class="box-footer">
                <div class="box-main-footer">
                    <div class="left-txt">
                        <!-- <p>累加访问量:<span>19,502,812</span>次</p> -->
                        <p><img src="../static/images/footer/icon1.png" alt=""> <span>95531 / 400 8888 588</span></p>
                        <!-- <p><img src="../static//images/footer/icon2.png" alt=""> <span>service@longone.com</span></p>
                        <p><img src="../static//images/footer/icon3.png" alt=""> <span>021-50588876</span></p> -->
                    </div>
                    <ul class="ewm">
                        <li><img src="../static/images/footer/er1.png" width="114" height="114" alt="">
                            <p>东海随身行</p>
                        </li>
                        <li><img src="../static/images/footer/er2.png" width="114" height="114" alt="">
                            <p>微信服务号</p>
                        </li>
                        <li><img src="../static/images/footer/er3.jpg" width="114" height="114" alt="">
                            <p>微信订阅号</p>
                        </li>
                    </ul>
                    <!-- <div class="right-txt">
                        <span>关注我们</span>
                        <img src="../static//images/footer/wx.png" alt="">
                    </div> -->
                </div>
                <div class="box-bottom">
                    <div class="box-bottom-content">
                        <p class="left-p">版权声明 中国证监会投资者保护热线：12386</p>
                        <div class="right-p">
                            <div class="d2">
                                <a target="_blank"
                                    href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32040202000232"
                                    style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img
                                        src="../static/images/footer/beian.png" style="float:left;">苏公网安备
                                    32040202000232号</a> <a
                                    href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action">苏ICP备05003634号</a>
                                <!-- <span id="cnzz_stat_icon_1256281249"><a href="https://www.cnzz.com/stat/website.php?web_id=1256281249" target="_blank" title="站长统计"><img class="imgs-icon" border="0" hspace="0" vspace="0" src="http://icon.cnzz.com/img/pic1.gif"></a></span> -->
                            </div>
                            </dv>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </footer>

    <!-- 底部部分 -->
</body>
<script src="/static/common/js/jquery-1.11.3.js"></script>
<script src="/static/common/js/ellipsis.js"></script>
<script src="/static/common/js/swiper_3.3min.js"></script>
<!-- 加载头尾 -->



<script>


    // 添加class类名
    $('.fk_tabs>li').click(function () {
        $(this).addClass('user-active-list').siblings().removeClass('user-active-list')

        $('.list-img').eq($(this).index()).show().siblings().hide()
    })



    // 上传头像功能
    //     使用ajax上传到服务器并实现预览

    // 需要注意几点: 

    // fd.append('name', file);
    // 这一句中的name是后台需要接受的file的name



    // 点击搜索跳转
    $('.serch-go').click(function () {
        window.location.href = 'list_search.html'
    })


    $(document).ready(function () {
        // 超出省略
        var oEllipsis = new Ellipsis()

        $('.font-content').each(function (i, item) {
            var self = $(item)[0]
            oEllipsis.getOriginalContent(self)
            oEllipsis.ellipsisNormal(self, 63, ['显示全部', '收起'])
        })
    })

    $('.bj-list>li>img').click(function () {
        $(this).parent().hide()
    })


    // swiper3
    var course = new Swiper('#course', {
        slidesPerView: 4,
        paginationClickable: true,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
    });




    // 日期选择
    var date_selector = document.getElementById('date-select'),
        date_selector_span = date_selector.getElementsByTagName('span')[0],
        date_selector_input = date_selector.getElementsByTagName('input')[0],
        date_wrapper = document.getElementById('date-wrapper'),
        date_list = date_wrapper.getElementsByTagName('li');

    // 选择日期
    date_selector.onclick = function () {
        if (!this.classList.contains('active')) {
            this.classList.add('active');
        } else {
            this.classList.remove('active');
        }
    };

    // 给每个日期添加点击事件
    for (var i = 0; i < date_list.length; i++) {
        date_list[i].onclick = function () {
            var _this = this;

            date_selector.classList.remove('active');

            this.className = 'current';
            siblings(_this).arr.forEach(function (sibling) {
                sibling.className = '';
            });
            date_selector_input.value = date_selector_span.innerHTML = _this.innerHTML;
        };
    }

    // 点击空白处，隐藏日历列表
    document.addEventListener('click', function (e) {
        if (date_selector.classList.contains('active') && e.target != date_selector) {
            date_selector.classList.remove('active');
        }
    }, false);

    // 判断列表是否为空
    var note_wrapper = getElementsByClass(document, 'note-wrapper');

    for (var i = 0; i < note_wrapper.length; i++) {
        var note_list = note_wrapper[i].getElementsByTagName('li');

        if (note_list.length === 0) {
            var empty_msg = document.createElement('li');
            empty_msg.className = 'empty';
            empty_msg.innerHTML = '快点来学习吧...';

            note_wrapper[i].getElementsByTagName('ul')[0].appendChild(empty_msg);
        }
    }
</script>
<script src="../static/common/js/slider_upload.js"></script>
</html>